package cc.rengu.igas.bomp.common.dao;

import cc.rengu.igas.bomp.common.entity.BspsUserInfo;

/**
 * @Created by 800P_tangfy on
 */
public interface BompUserInfoMapper {

    /**
     * 根据用户id查询用户信息
     *
     * @param instId 多法人标识
     * @param userId 用户id
     * @return 用户信息
     * @throws Exception 异常
     */
    BspsUserInfo selectBompBspsUserInfoByUserId(String instId, String userId) throws Exception;

    /**
     * 根据主键更新用户信息
     *
     * @param userInfo 用户信息
     * @return 0-成功，其它-失败
     * @throws Exception 异常
     */
    int updateBompBspsUserInfoByPrimaryKey(BspsUserInfo userInfo) throws Exception;
}
